package com.big.auth.domain.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * <p>
 * 用户登录请求参数DTO，包含用户名、密码、验证码等登录信息
 * </p>
 *
 * @author 山归岿
 * @create 2025-06-15-19:42
 */
@Data
@Schema(description = "登录请求参数")
public class AuthLoginDTO {

    @Schema(description = "用户名")
    @NotBlank(message = "用户名不能为空")
    private String username;

    @Schema(description = "密码")
    @NotBlank(message = "密码不能为空")
    private String password;

    @Schema(description = "验证码")
    private String captcha;

    @Schema(description = "验证码key")
    private String captchaKey;

    @Schema(description = "记住我")
    private Boolean rememberMe;
}